package com.lebang.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class TaskRouseDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public TaskRouseDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(LocalDateTime value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(LocalDateTime value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(LocalDateTime value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(LocalDateTime value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<LocalDateTime> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<LocalDateTime> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNull() {
            addCriterion("has_deleted is null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIsNotNull() {
            addCriterion("has_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andHasDeletedEqualTo(Integer value) {
            addCriterion("has_deleted =", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotEqualTo(Integer value) {
            addCriterion("has_deleted <>", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThan(Integer value) {
            addCriterion("has_deleted >", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("has_deleted >=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThan(Integer value) {
            addCriterion("has_deleted <", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("has_deleted <=", value, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedIn(List<Integer> values) {
            addCriterion("has_deleted in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotIn(List<Integer> values) {
            addCriterion("has_deleted not in", values, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andHasDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("has_deleted not between", value1, value2, "hasDeleted");
            return (Criteria) this;
        }

        public Criteria andPkgNameIsNull() {
            addCriterion("pkg_name is null");
            return (Criteria) this;
        }

        public Criteria andPkgNameIsNotNull() {
            addCriterion("pkg_name is not null");
            return (Criteria) this;
        }

        public Criteria andPkgNameEqualTo(String value) {
            addCriterion("pkg_name =", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameNotEqualTo(String value) {
            addCriterion("pkg_name <>", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameGreaterThan(String value) {
            addCriterion("pkg_name >", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameGreaterThanOrEqualTo(String value) {
            addCriterion("pkg_name >=", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameLessThan(String value) {
            addCriterion("pkg_name <", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameLessThanOrEqualTo(String value) {
            addCriterion("pkg_name <=", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameLike(String value) {
            addCriterion("pkg_name like", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameNotLike(String value) {
            addCriterion("pkg_name not like", value, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameIn(List<String> values) {
            addCriterion("pkg_name in", values, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameNotIn(List<String> values) {
            addCriterion("pkg_name not in", values, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameBetween(String value1, String value2) {
            addCriterion("pkg_name between", value1, value2, "pkgName");
            return (Criteria) this;
        }

        public Criteria andPkgNameNotBetween(String value1, String value2) {
            addCriterion("pkg_name not between", value1, value2, "pkgName");
            return (Criteria) this;
        }

        public Criteria andAppNameIsNull() {
            addCriterion("app_name is null");
            return (Criteria) this;
        }

        public Criteria andAppNameIsNotNull() {
            addCriterion("app_name is not null");
            return (Criteria) this;
        }

        public Criteria andAppNameEqualTo(String value) {
            addCriterion("app_name =", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameNotEqualTo(String value) {
            addCriterion("app_name <>", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameGreaterThan(String value) {
            addCriterion("app_name >", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameGreaterThanOrEqualTo(String value) {
            addCriterion("app_name >=", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameLessThan(String value) {
            addCriterion("app_name <", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameLessThanOrEqualTo(String value) {
            addCriterion("app_name <=", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameLike(String value) {
            addCriterion("app_name like", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameNotLike(String value) {
            addCriterion("app_name not like", value, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameIn(List<String> values) {
            addCriterion("app_name in", values, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameNotIn(List<String> values) {
            addCriterion("app_name not in", values, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameBetween(String value1, String value2) {
            addCriterion("app_name between", value1, value2, "appName");
            return (Criteria) this;
        }

        public Criteria andAppNameNotBetween(String value1, String value2) {
            addCriterion("app_name not between", value1, value2, "appName");
            return (Criteria) this;
        }

        public Criteria andDownUrlIsNull() {
            addCriterion("down_url is null");
            return (Criteria) this;
        }

        public Criteria andDownUrlIsNotNull() {
            addCriterion("down_url is not null");
            return (Criteria) this;
        }

        public Criteria andDownUrlEqualTo(String value) {
            addCriterion("down_url =", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlNotEqualTo(String value) {
            addCriterion("down_url <>", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlGreaterThan(String value) {
            addCriterion("down_url >", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlGreaterThanOrEqualTo(String value) {
            addCriterion("down_url >=", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlLessThan(String value) {
            addCriterion("down_url <", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlLessThanOrEqualTo(String value) {
            addCriterion("down_url <=", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlLike(String value) {
            addCriterion("down_url like", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlNotLike(String value) {
            addCriterion("down_url not like", value, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlIn(List<String> values) {
            addCriterion("down_url in", values, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlNotIn(List<String> values) {
            addCriterion("down_url not in", values, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlBetween(String value1, String value2) {
            addCriterion("down_url between", value1, value2, "downUrl");
            return (Criteria) this;
        }

        public Criteria andDownUrlNotBetween(String value1, String value2) {
            addCriterion("down_url not between", value1, value2, "downUrl");
            return (Criteria) this;
        }

        public Criteria andIconIsNull() {
            addCriterion("icon is null");
            return (Criteria) this;
        }

        public Criteria andIconIsNotNull() {
            addCriterion("icon is not null");
            return (Criteria) this;
        }

        public Criteria andIconEqualTo(String value) {
            addCriterion("icon =", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotEqualTo(String value) {
            addCriterion("icon <>", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThan(String value) {
            addCriterion("icon >", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThanOrEqualTo(String value) {
            addCriterion("icon >=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThan(String value) {
            addCriterion("icon <", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThanOrEqualTo(String value) {
            addCriterion("icon <=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLike(String value) {
            addCriterion("icon like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotLike(String value) {
            addCriterion("icon not like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconIn(List<String> values) {
            addCriterion("icon in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotIn(List<String> values) {
            addCriterion("icon not in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconBetween(String value1, String value2) {
            addCriterion("icon between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotBetween(String value1, String value2) {
            addCriterion("icon not between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andRouseIdIsNull() {
            addCriterion("rouse_id is null");
            return (Criteria) this;
        }

        public Criteria andRouseIdIsNotNull() {
            addCriterion("rouse_id is not null");
            return (Criteria) this;
        }

        public Criteria andRouseIdEqualTo(Long value) {
            addCriterion("rouse_id =", value, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdNotEqualTo(Long value) {
            addCriterion("rouse_id <>", value, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdGreaterThan(Long value) {
            addCriterion("rouse_id >", value, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("rouse_id >=", value, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdLessThan(Long value) {
            addCriterion("rouse_id <", value, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdLessThanOrEqualTo(Long value) {
            addCriterion("rouse_id <=", value, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdIn(List<Long> values) {
            addCriterion("rouse_id in", values, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdNotIn(List<Long> values) {
            addCriterion("rouse_id not in", values, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdBetween(Long value1, Long value2) {
            addCriterion("rouse_id between", value1, value2, "rouseId");
            return (Criteria) this;
        }

        public Criteria andRouseIdNotBetween(Long value1, Long value2) {
            addCriterion("rouse_id not between", value1, value2, "rouseId");
            return (Criteria) this;
        }

        public Criteria andEnableIsNull() {
            addCriterion("`enable` is null");
            return (Criteria) this;
        }

        public Criteria andEnableIsNotNull() {
            addCriterion("`enable` is not null");
            return (Criteria) this;
        }

        public Criteria andEnableEqualTo(Integer value) {
            addCriterion("`enable` =", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotEqualTo(Integer value) {
            addCriterion("`enable` <>", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableGreaterThan(Integer value) {
            addCriterion("`enable` >", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableGreaterThanOrEqualTo(Integer value) {
            addCriterion("`enable` >=", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableLessThan(Integer value) {
            addCriterion("`enable` <", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableLessThanOrEqualTo(Integer value) {
            addCriterion("`enable` <=", value, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableIn(List<Integer> values) {
            addCriterion("`enable` in", values, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotIn(List<Integer> values) {
            addCriterion("`enable` not in", values, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableBetween(Integer value1, Integer value2) {
            addCriterion("`enable` between", value1, value2, "enable");
            return (Criteria) this;
        }

        public Criteria andEnableNotBetween(Integer value1, Integer value2) {
            addCriterion("`enable` not between", value1, value2, "enable");
            return (Criteria) this;
        }

        public Criteria andOldUrlIsNull() {
            addCriterion("old_url is null");
            return (Criteria) this;
        }

        public Criteria andOldUrlIsNotNull() {
            addCriterion("old_url is not null");
            return (Criteria) this;
        }

        public Criteria andOldUrlEqualTo(String value) {
            addCriterion("old_url =", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlNotEqualTo(String value) {
            addCriterion("old_url <>", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlGreaterThan(String value) {
            addCriterion("old_url >", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlGreaterThanOrEqualTo(String value) {
            addCriterion("old_url >=", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlLessThan(String value) {
            addCriterion("old_url <", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlLessThanOrEqualTo(String value) {
            addCriterion("old_url <=", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlLike(String value) {
            addCriterion("old_url like", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlNotLike(String value) {
            addCriterion("old_url not like", value, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlIn(List<String> values) {
            addCriterion("old_url in", values, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlNotIn(List<String> values) {
            addCriterion("old_url not in", values, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlBetween(String value1, String value2) {
            addCriterion("old_url between", value1, value2, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andOldUrlNotBetween(String value1, String value2) {
            addCriterion("old_url not between", value1, value2, "oldUrl");
            return (Criteria) this;
        }

        public Criteria andIsFirstIsNull() {
            addCriterion("is_first is null");
            return (Criteria) this;
        }

        public Criteria andIsFirstIsNotNull() {
            addCriterion("is_first is not null");
            return (Criteria) this;
        }

        public Criteria andIsFirstEqualTo(Integer value) {
            addCriterion("is_first =", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstNotEqualTo(Integer value) {
            addCriterion("is_first <>", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstGreaterThan(Integer value) {
            addCriterion("is_first >", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_first >=", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstLessThan(Integer value) {
            addCriterion("is_first <", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstLessThanOrEqualTo(Integer value) {
            addCriterion("is_first <=", value, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstIn(List<Integer> values) {
            addCriterion("is_first in", values, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstNotIn(List<Integer> values) {
            addCriterion("is_first not in", values, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstBetween(Integer value1, Integer value2) {
            addCriterion("is_first between", value1, value2, "isFirst");
            return (Criteria) this;
        }

        public Criteria andIsFirstNotBetween(Integer value1, Integer value2) {
            addCriterion("is_first not between", value1, value2, "isFirst");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andIsClickIsNull() {
            addCriterion("is_click is null");
            return (Criteria) this;
        }

        public Criteria andIsClickIsNotNull() {
            addCriterion("is_click is not null");
            return (Criteria) this;
        }

        public Criteria andIsClickEqualTo(Integer value) {
            addCriterion("is_click =", value, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickNotEqualTo(Integer value) {
            addCriterion("is_click <>", value, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickGreaterThan(Integer value) {
            addCriterion("is_click >", value, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_click >=", value, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickLessThan(Integer value) {
            addCriterion("is_click <", value, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickLessThanOrEqualTo(Integer value) {
            addCriterion("is_click <=", value, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickIn(List<Integer> values) {
            addCriterion("is_click in", values, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickNotIn(List<Integer> values) {
            addCriterion("is_click not in", values, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickBetween(Integer value1, Integer value2) {
            addCriterion("is_click between", value1, value2, "isClick");
            return (Criteria) this;
        }

        public Criteria andIsClickNotBetween(Integer value1, Integer value2) {
            addCriterion("is_click not between", value1, value2, "isClick");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNull() {
            addCriterion("task_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNotNull() {
            addCriterion("task_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskNameEqualTo(String value) {
            addCriterion("task_name =", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotEqualTo(String value) {
            addCriterion("task_name <>", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThan(String value) {
            addCriterion("task_name >", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_name >=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThan(String value) {
            addCriterion("task_name <", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThanOrEqualTo(String value) {
            addCriterion("task_name <=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLike(String value) {
            addCriterion("task_name like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotLike(String value) {
            addCriterion("task_name not like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameIn(List<String> values) {
            addCriterion("task_name in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotIn(List<String> values) {
            addCriterion("task_name not in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameBetween(String value1, String value2) {
            addCriterion("task_name between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotBetween(String value1, String value2) {
            addCriterion("task_name not between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andRouseTimeIsNull() {
            addCriterion("rouse_time is null");
            return (Criteria) this;
        }

        public Criteria andRouseTimeIsNotNull() {
            addCriterion("rouse_time is not null");
            return (Criteria) this;
        }

        public Criteria andRouseTimeEqualTo(Integer value) {
            addCriterion("rouse_time =", value, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeNotEqualTo(Integer value) {
            addCriterion("rouse_time <>", value, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeGreaterThan(Integer value) {
            addCriterion("rouse_time >", value, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("rouse_time >=", value, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeLessThan(Integer value) {
            addCriterion("rouse_time <", value, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeLessThanOrEqualTo(Integer value) {
            addCriterion("rouse_time <=", value, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeIn(List<Integer> values) {
            addCriterion("rouse_time in", values, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeNotIn(List<Integer> values) {
            addCriterion("rouse_time not in", values, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeBetween(Integer value1, Integer value2) {
            addCriterion("rouse_time between", value1, value2, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRouseTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("rouse_time not between", value1, value2, "rouseTime");
            return (Criteria) this;
        }

        public Criteria andRecordCountIsNull() {
            addCriterion("record_count is null");
            return (Criteria) this;
        }

        public Criteria andRecordCountIsNotNull() {
            addCriterion("record_count is not null");
            return (Criteria) this;
        }

        public Criteria andRecordCountEqualTo(Integer value) {
            addCriterion("record_count =", value, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountNotEqualTo(Integer value) {
            addCriterion("record_count <>", value, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountGreaterThan(Integer value) {
            addCriterion("record_count >", value, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("record_count >=", value, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountLessThan(Integer value) {
            addCriterion("record_count <", value, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountLessThanOrEqualTo(Integer value) {
            addCriterion("record_count <=", value, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountIn(List<Integer> values) {
            addCriterion("record_count in", values, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountNotIn(List<Integer> values) {
            addCriterion("record_count not in", values, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountBetween(Integer value1, Integer value2) {
            addCriterion("record_count between", value1, value2, "recordCount");
            return (Criteria) this;
        }

        public Criteria andRecordCountNotBetween(Integer value1, Integer value2) {
            addCriterion("record_count not between", value1, value2, "recordCount");
            return (Criteria) this;
        }

        public Criteria andIsMyIsNull() {
            addCriterion("is_my is null");
            return (Criteria) this;
        }

        public Criteria andIsMyIsNotNull() {
            addCriterion("is_my is not null");
            return (Criteria) this;
        }

        public Criteria andIsMyEqualTo(Integer value) {
            addCriterion("is_my =", value, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyNotEqualTo(Integer value) {
            addCriterion("is_my <>", value, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyGreaterThan(Integer value) {
            addCriterion("is_my >", value, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_my >=", value, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyLessThan(Integer value) {
            addCriterion("is_my <", value, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyLessThanOrEqualTo(Integer value) {
            addCriterion("is_my <=", value, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyIn(List<Integer> values) {
            addCriterion("is_my in", values, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyNotIn(List<Integer> values) {
            addCriterion("is_my not in", values, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyBetween(Integer value1, Integer value2) {
            addCriterion("is_my between", value1, value2, "isMy");
            return (Criteria) this;
        }

        public Criteria andIsMyNotBetween(Integer value1, Integer value2) {
            addCriterion("is_my not between", value1, value2, "isMy");
            return (Criteria) this;
        }

        public Criteria andRewardTypeIsNull() {
            addCriterion("reward_type is null");
            return (Criteria) this;
        }

        public Criteria andRewardTypeIsNotNull() {
            addCriterion("reward_type is not null");
            return (Criteria) this;
        }

        public Criteria andRewardTypeEqualTo(Integer value) {
            addCriterion("reward_type =", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotEqualTo(Integer value) {
            addCriterion("reward_type <>", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeGreaterThan(Integer value) {
            addCriterion("reward_type >", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("reward_type >=", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeLessThan(Integer value) {
            addCriterion("reward_type <", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeLessThanOrEqualTo(Integer value) {
            addCriterion("reward_type <=", value, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeIn(List<Integer> values) {
            addCriterion("reward_type in", values, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotIn(List<Integer> values) {
            addCriterion("reward_type not in", values, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeBetween(Integer value1, Integer value2) {
            addCriterion("reward_type between", value1, value2, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("reward_type not between", value1, value2, "rewardType");
            return (Criteria) this;
        }

        public Criteria andRewardPointIsNull() {
            addCriterion("reward_point is null");
            return (Criteria) this;
        }

        public Criteria andRewardPointIsNotNull() {
            addCriterion("reward_point is not null");
            return (Criteria) this;
        }

        public Criteria andRewardPointEqualTo(Integer value) {
            addCriterion("reward_point =", value, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointNotEqualTo(Integer value) {
            addCriterion("reward_point <>", value, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointGreaterThan(Integer value) {
            addCriterion("reward_point >", value, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointGreaterThanOrEqualTo(Integer value) {
            addCriterion("reward_point >=", value, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointLessThan(Integer value) {
            addCriterion("reward_point <", value, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointLessThanOrEqualTo(Integer value) {
            addCriterion("reward_point <=", value, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointIn(List<Integer> values) {
            addCriterion("reward_point in", values, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointNotIn(List<Integer> values) {
            addCriterion("reward_point not in", values, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointBetween(Integer value1, Integer value2) {
            addCriterion("reward_point between", value1, value2, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardPointNotBetween(Integer value1, Integer value2) {
            addCriterion("reward_point not between", value1, value2, "rewardPoint");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyIsNull() {
            addCriterion("reward_money is null");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyIsNotNull() {
            addCriterion("reward_money is not null");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyEqualTo(Integer value) {
            addCriterion("reward_money =", value, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyNotEqualTo(Integer value) {
            addCriterion("reward_money <>", value, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyGreaterThan(Integer value) {
            addCriterion("reward_money >", value, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("reward_money >=", value, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyLessThan(Integer value) {
            addCriterion("reward_money <", value, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("reward_money <=", value, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyIn(List<Integer> values) {
            addCriterion("reward_money in", values, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyNotIn(List<Integer> values) {
            addCriterion("reward_money not in", values, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyBetween(Integer value1, Integer value2) {
            addCriterion("reward_money between", value1, value2, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andRewardMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("reward_money not between", value1, value2, "rewardMoney");
            return (Criteria) this;
        }

        public Criteria andSosoTypeIsNull() {
            addCriterion("soso_type is null");
            return (Criteria) this;
        }

        public Criteria andSosoTypeIsNotNull() {
            addCriterion("soso_type is not null");
            return (Criteria) this;
        }

        public Criteria andSosoTypeEqualTo(Integer value) {
            addCriterion("soso_type =", value, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeNotEqualTo(Integer value) {
            addCriterion("soso_type <>", value, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeGreaterThan(Integer value) {
            addCriterion("soso_type >", value, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("soso_type >=", value, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeLessThan(Integer value) {
            addCriterion("soso_type <", value, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeLessThanOrEqualTo(Integer value) {
            addCriterion("soso_type <=", value, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeIn(List<Integer> values) {
            addCriterion("soso_type in", values, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeNotIn(List<Integer> values) {
            addCriterion("soso_type not in", values, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeBetween(Integer value1, Integer value2) {
            addCriterion("soso_type between", value1, value2, "sosoType");
            return (Criteria) this;
        }

        public Criteria andSosoTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("soso_type not between", value1, value2, "sosoType");
            return (Criteria) this;
        }

        public Criteria andAppStoreIsNull() {
            addCriterion("app_store is null");
            return (Criteria) this;
        }

        public Criteria andAppStoreIsNotNull() {
            addCriterion("app_store is not null");
            return (Criteria) this;
        }

        public Criteria andAppStoreEqualTo(String value) {
            addCriterion("app_store =", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotEqualTo(String value) {
            addCriterion("app_store <>", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreGreaterThan(String value) {
            addCriterion("app_store >", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreGreaterThanOrEqualTo(String value) {
            addCriterion("app_store >=", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLessThan(String value) {
            addCriterion("app_store <", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLessThanOrEqualTo(String value) {
            addCriterion("app_store <=", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreLike(String value) {
            addCriterion("app_store like", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotLike(String value) {
            addCriterion("app_store not like", value, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreIn(List<String> values) {
            addCriterion("app_store in", values, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotIn(List<String> values) {
            addCriterion("app_store not in", values, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreBetween(String value1, String value2) {
            addCriterion("app_store between", value1, value2, "appStore");
            return (Criteria) this;
        }

        public Criteria andAppStoreNotBetween(String value1, String value2) {
            addCriterion("app_store not between", value1, value2, "appStore");
            return (Criteria) this;
        }

        public Criteria andKeyWordsIsNull() {
            addCriterion("key_words is null");
            return (Criteria) this;
        }

        public Criteria andKeyWordsIsNotNull() {
            addCriterion("key_words is not null");
            return (Criteria) this;
        }

        public Criteria andKeyWordsEqualTo(String value) {
            addCriterion("key_words =", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsNotEqualTo(String value) {
            addCriterion("key_words <>", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsGreaterThan(String value) {
            addCriterion("key_words >", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsGreaterThanOrEqualTo(String value) {
            addCriterion("key_words >=", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsLessThan(String value) {
            addCriterion("key_words <", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsLessThanOrEqualTo(String value) {
            addCriterion("key_words <=", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsLike(String value) {
            addCriterion("key_words like", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsNotLike(String value) {
            addCriterion("key_words not like", value, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsIn(List<String> values) {
            addCriterion("key_words in", values, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsNotIn(List<String> values) {
            addCriterion("key_words not in", values, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsBetween(String value1, String value2) {
            addCriterion("key_words between", value1, value2, "keyWords");
            return (Criteria) this;
        }

        public Criteria andKeyWordsNotBetween(String value1, String value2) {
            addCriterion("key_words not between", value1, value2, "keyWords");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlIsNull() {
            addCriterion("app_store_pkg_url is null");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlIsNotNull() {
            addCriterion("app_store_pkg_url is not null");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlEqualTo(String value) {
            addCriterion("app_store_pkg_url =", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlNotEqualTo(String value) {
            addCriterion("app_store_pkg_url <>", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlGreaterThan(String value) {
            addCriterion("app_store_pkg_url >", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("app_store_pkg_url >=", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlLessThan(String value) {
            addCriterion("app_store_pkg_url <", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlLessThanOrEqualTo(String value) {
            addCriterion("app_store_pkg_url <=", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlLike(String value) {
            addCriterion("app_store_pkg_url like", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlNotLike(String value) {
            addCriterion("app_store_pkg_url not like", value, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlIn(List<String> values) {
            addCriterion("app_store_pkg_url in", values, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlNotIn(List<String> values) {
            addCriterion("app_store_pkg_url not in", values, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlBetween(String value1, String value2) {
            addCriterion("app_store_pkg_url between", value1, value2, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andAppStorePkgUrlNotBetween(String value1, String value2) {
            addCriterion("app_store_pkg_url not between", value1, value2, "appStorePkgUrl");
            return (Criteria) this;
        }

        public Criteria andStrategyIdIsNull() {
            addCriterion("strategy_id is null");
            return (Criteria) this;
        }

        public Criteria andStrategyIdIsNotNull() {
            addCriterion("strategy_id is not null");
            return (Criteria) this;
        }

        public Criteria andStrategyIdEqualTo(Integer value) {
            addCriterion("strategy_id =", value, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdNotEqualTo(Integer value) {
            addCriterion("strategy_id <>", value, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdGreaterThan(Integer value) {
            addCriterion("strategy_id >", value, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("strategy_id >=", value, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdLessThan(Integer value) {
            addCriterion("strategy_id <", value, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdLessThanOrEqualTo(Integer value) {
            addCriterion("strategy_id <=", value, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdIn(List<Integer> values) {
            addCriterion("strategy_id in", values, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdNotIn(List<Integer> values) {
            addCriterion("strategy_id not in", values, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdBetween(Integer value1, Integer value2) {
            addCriterion("strategy_id between", value1, value2, "strategyId");
            return (Criteria) this;
        }

        public Criteria andStrategyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("strategy_id not between", value1, value2, "strategyId");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIsNull() {
            addCriterion("success_count is null");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIsNotNull() {
            addCriterion("success_count is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessCountEqualTo(Integer value) {
            addCriterion("success_count =", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotEqualTo(Integer value) {
            addCriterion("success_count <>", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountGreaterThan(Integer value) {
            addCriterion("success_count >", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_count >=", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountLessThan(Integer value) {
            addCriterion("success_count <", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountLessThanOrEqualTo(Integer value) {
            addCriterion("success_count <=", value, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountIn(List<Integer> values) {
            addCriterion("success_count in", values, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotIn(List<Integer> values) {
            addCriterion("success_count not in", values, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountBetween(Integer value1, Integer value2) {
            addCriterion("success_count between", value1, value2, "successCount");
            return (Criteria) this;
        }

        public Criteria andSuccessCountNotBetween(Integer value1, Integer value2) {
            addCriterion("success_count not between", value1, value2, "successCount");
            return (Criteria) this;
        }

        public Criteria andFailCountIsNull() {
            addCriterion("fail_count is null");
            return (Criteria) this;
        }

        public Criteria andFailCountIsNotNull() {
            addCriterion("fail_count is not null");
            return (Criteria) this;
        }

        public Criteria andFailCountEqualTo(Integer value) {
            addCriterion("fail_count =", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotEqualTo(Integer value) {
            addCriterion("fail_count <>", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountGreaterThan(Integer value) {
            addCriterion("fail_count >", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("fail_count >=", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountLessThan(Integer value) {
            addCriterion("fail_count <", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountLessThanOrEqualTo(Integer value) {
            addCriterion("fail_count <=", value, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountIn(List<Integer> values) {
            addCriterion("fail_count in", values, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotIn(List<Integer> values) {
            addCriterion("fail_count not in", values, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountBetween(Integer value1, Integer value2) {
            addCriterion("fail_count between", value1, value2, "failCount");
            return (Criteria) this;
        }

        public Criteria andFailCountNotBetween(Integer value1, Integer value2) {
            addCriterion("fail_count not between", value1, value2, "failCount");
            return (Criteria) this;
        }

        public Criteria andBrandIsNull() {
            addCriterion("brand is null");
            return (Criteria) this;
        }

        public Criteria andBrandIsNotNull() {
            addCriterion("brand is not null");
            return (Criteria) this;
        }

        public Criteria andBrandEqualTo(String value) {
            addCriterion("brand =", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotEqualTo(String value) {
            addCriterion("brand <>", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThan(String value) {
            addCriterion("brand >", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandGreaterThanOrEqualTo(String value) {
            addCriterion("brand >=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThan(String value) {
            addCriterion("brand <", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLessThanOrEqualTo(String value) {
            addCriterion("brand <=", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandLike(String value) {
            addCriterion("brand like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotLike(String value) {
            addCriterion("brand not like", value, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandIn(List<String> values) {
            addCriterion("brand in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotIn(List<String> values) {
            addCriterion("brand not in", values, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandBetween(String value1, String value2) {
            addCriterion("brand between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andBrandNotBetween(String value1, String value2) {
            addCriterion("brand not between", value1, value2, "brand");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Integer value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Integer value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Integer value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Integer value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Integer value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Integer value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Integer> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Integer> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Integer value1, Integer value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Integer value1, Integer value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortIsNull() {
            addCriterion("app_store_sort is null");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortIsNotNull() {
            addCriterion("app_store_sort is not null");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortEqualTo(Integer value) {
            addCriterion("app_store_sort =", value, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortNotEqualTo(Integer value) {
            addCriterion("app_store_sort <>", value, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortGreaterThan(Integer value) {
            addCriterion("app_store_sort >", value, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("app_store_sort >=", value, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortLessThan(Integer value) {
            addCriterion("app_store_sort <", value, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortLessThanOrEqualTo(Integer value) {
            addCriterion("app_store_sort <=", value, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortIn(List<Integer> values) {
            addCriterion("app_store_sort in", values, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortNotIn(List<Integer> values) {
            addCriterion("app_store_sort not in", values, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortBetween(Integer value1, Integer value2) {
            addCriterion("app_store_sort between", value1, value2, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andAppStoreSortNotBetween(Integer value1, Integer value2) {
            addCriterion("app_store_sort not between", value1, value2, "appStoreSort");
            return (Criteria) this;
        }

        public Criteria andOpenFiterIsNull() {
            addCriterion("open_fiter is null");
            return (Criteria) this;
        }

        public Criteria andOpenFiterIsNotNull() {
            addCriterion("open_fiter is not null");
            return (Criteria) this;
        }

        public Criteria andOpenFiterEqualTo(Integer value) {
            addCriterion("open_fiter =", value, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterNotEqualTo(Integer value) {
            addCriterion("open_fiter <>", value, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterGreaterThan(Integer value) {
            addCriterion("open_fiter >", value, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterGreaterThanOrEqualTo(Integer value) {
            addCriterion("open_fiter >=", value, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterLessThan(Integer value) {
            addCriterion("open_fiter <", value, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterLessThanOrEqualTo(Integer value) {
            addCriterion("open_fiter <=", value, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterIn(List<Integer> values) {
            addCriterion("open_fiter in", values, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterNotIn(List<Integer> values) {
            addCriterion("open_fiter not in", values, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterBetween(Integer value1, Integer value2) {
            addCriterion("open_fiter between", value1, value2, "openFiter");
            return (Criteria) this;
        }

        public Criteria andOpenFiterNotBetween(Integer value1, Integer value2) {
            addCriterion("open_fiter not between", value1, value2, "openFiter");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsIsNull() {
            addCriterion("fiter_keywords is null");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsIsNotNull() {
            addCriterion("fiter_keywords is not null");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsEqualTo(String value) {
            addCriterion("fiter_keywords =", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsNotEqualTo(String value) {
            addCriterion("fiter_keywords <>", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsGreaterThan(String value) {
            addCriterion("fiter_keywords >", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsGreaterThanOrEqualTo(String value) {
            addCriterion("fiter_keywords >=", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsLessThan(String value) {
            addCriterion("fiter_keywords <", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsLessThanOrEqualTo(String value) {
            addCriterion("fiter_keywords <=", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsLike(String value) {
            addCriterion("fiter_keywords like", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsNotLike(String value) {
            addCriterion("fiter_keywords not like", value, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsIn(List<String> values) {
            addCriterion("fiter_keywords in", values, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsNotIn(List<String> values) {
            addCriterion("fiter_keywords not in", values, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsBetween(String value1, String value2) {
            addCriterion("fiter_keywords between", value1, value2, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andFiterKeywordsNotBetween(String value1, String value2) {
            addCriterion("fiter_keywords not between", value1, value2, "fiterKeywords");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountIsNull() {
            addCriterion("today_success_count is null");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountIsNotNull() {
            addCriterion("today_success_count is not null");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountEqualTo(Integer value) {
            addCriterion("today_success_count =", value, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountNotEqualTo(Integer value) {
            addCriterion("today_success_count <>", value, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountGreaterThan(Integer value) {
            addCriterion("today_success_count >", value, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("today_success_count >=", value, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountLessThan(Integer value) {
            addCriterion("today_success_count <", value, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountLessThanOrEqualTo(Integer value) {
            addCriterion("today_success_count <=", value, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountIn(List<Integer> values) {
            addCriterion("today_success_count in", values, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountNotIn(List<Integer> values) {
            addCriterion("today_success_count not in", values, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountBetween(Integer value1, Integer value2) {
            addCriterion("today_success_count between", value1, value2, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andTodaySuccessCountNotBetween(Integer value1, Integer value2) {
            addCriterion("today_success_count not between", value1, value2, "todaySuccessCount");
            return (Criteria) this;
        }

        public Criteria andDayAmountIsNull() {
            addCriterion("day_amount is null");
            return (Criteria) this;
        }

        public Criteria andDayAmountIsNotNull() {
            addCriterion("day_amount is not null");
            return (Criteria) this;
        }

        public Criteria andDayAmountEqualTo(Integer value) {
            addCriterion("day_amount =", value, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountNotEqualTo(Integer value) {
            addCriterion("day_amount <>", value, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountGreaterThan(Integer value) {
            addCriterion("day_amount >", value, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountGreaterThanOrEqualTo(Integer value) {
            addCriterion("day_amount >=", value, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountLessThan(Integer value) {
            addCriterion("day_amount <", value, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountLessThanOrEqualTo(Integer value) {
            addCriterion("day_amount <=", value, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountIn(List<Integer> values) {
            addCriterion("day_amount in", values, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountNotIn(List<Integer> values) {
            addCriterion("day_amount not in", values, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountBetween(Integer value1, Integer value2) {
            addCriterion("day_amount between", value1, value2, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andDayAmountNotBetween(Integer value1, Integer value2) {
            addCriterion("day_amount not between", value1, value2, "dayAmount");
            return (Criteria) this;
        }

        public Criteria andOvsTypeIsNull() {
            addCriterion("ovs_type is null");
            return (Criteria) this;
        }

        public Criteria andOvsTypeIsNotNull() {
            addCriterion("ovs_type is not null");
            return (Criteria) this;
        }

        public Criteria andOvsTypeEqualTo(Integer value) {
            addCriterion("ovs_type =", value, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeNotEqualTo(Integer value) {
            addCriterion("ovs_type <>", value, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeGreaterThan(Integer value) {
            addCriterion("ovs_type >", value, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ovs_type >=", value, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeLessThan(Integer value) {
            addCriterion("ovs_type <", value, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ovs_type <=", value, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeIn(List<Integer> values) {
            addCriterion("ovs_type in", values, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeNotIn(List<Integer> values) {
            addCriterion("ovs_type not in", values, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeBetween(Integer value1, Integer value2) {
            addCriterion("ovs_type between", value1, value2, "ovsType");
            return (Criteria) this;
        }

        public Criteria andOvsTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ovs_type not between", value1, value2, "ovsType");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}